package com.yingxin.yxerp.module.inform.entity.builder;

import cn.hutool.core.bean.BeanUtil;
import com.yingxin.yxerp.module.inform.entity.InformWork;
import com.yingxin.yxerp.module.inform.vo.req.InformWorkCreateVo;

/**
 *
 * @author dongpengfei
 * @since 2021-12-10
 */
public class InformWorkBuilder {

    /**
    * build
    * @param vo
    * @return
    */
    public static InformWork build(InformWorkCreateVo vo) {
        InformWork InformWork = new InformWork();
        BeanUtil.copyProperties(vo, InformWork);
        return InformWork;
    }
}
